import multiprocessing
import time

def dance():
    for i in range(3):
        print("跳舞中...")
        time.sleep(0.2)
def changge():
    for i in range(3):
        print("唱歌中...")
        time.sleep(0.2)
if __name__=='__main__':
    # dance()
    # changge()
    subprocess1=multiprocessing.Process(target=dance)
    subprocess2 = multiprocessing.Process(target=changge)
    subprocess1.start()
    subprocess2.start()